package com.atguigu.Generic;

import java.util.ArrayList;

/**
 * @author xiaoqi
 * @data 2021/04/11 14:39
 */
public class GenericTest {
    public static void main(String[] args) {
        ArrayList list = new ArrayList();
        list.add(3);
        list.add(2);
        list.add(34);
        list.add("哈哈哈");

        for (Object o : list) {
            System.out.println(o);
        }
    }
}
